package pojo;

import com.zuche.framework.annotation.IbatisAliasConfig;
import com.zuche.framework.dao.util.QueryCond;

/**
 * Created by zjl (jl.zhang07@zuche.com) on 2015/11/9.
 */
@IbatisAliasConfig(alias = "creditCardConfig")
public class CreditCardConfig extends QueryCond {

    private static final long serialVersionUID = -6238922873441256080L;
    private int id;
    private String bankIds;
    //0未配置1已配置
    private int status;
    //1信用卡，2借记卡
    private int cardType;
    //银行名称
    private String bankName;
    //简写
    private String sourceId;
    //卡号
    private int  isCardNoNeed;
    private String isCardNoNeedDesc;
    //有效期
    private int isExpireTimeNeed;
    private String isExpireTimeNeedDesc;
    //CVV码
    private int isCVVNeed;
    private String isCVVNeedDesc;
    //户名
    private int isPayerNameNeed;
    private String isPayerNameNeedDesc;
    //证件类型
    private int isIdentifyTypeNeed;
    private String isIdentifyTypeNeedDesc;
    //证件编号
    private int isIdentifyNoNeed;
    private String isIdentifyNoNeedDesc;
    //手机号码
    private int isMobileNoNeed;
    private String isMobileNoNeedDesc;
    public CreditCardConfig(){
        this.isCardNoNeed=1;
        this.isExpireTimeNeed=1;
        this.isCVVNeed=1;
        this.isPayerNameNeed=1;
        this.isIdentifyTypeNeed=1;
        this.isIdentifyNoNeed=1;
        this.isMobileNoNeed=1;
        this.status = 0;
    }


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getSourceId() {
        return sourceId;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }



    public String getBankIds() {
        return bankIds;
    }

    public void setBankIds(String bankIds) {
        this.bankIds = bankIds;
    }

    public int getIsCardNoNeed() {
        return isCardNoNeed;
    }

    public void setIsCardNoNeed(int isCardNoNeed) {
        this.isCardNoNeed = isCardNoNeed;
    }

    public int getIsExpireTimeNeed() {
        return isExpireTimeNeed;
    }

    public void setIsExpireTimeNeed(int isExpireTimeNeed) {
        this.isExpireTimeNeed = isExpireTimeNeed;
    }

    public int getIsCVVNeed() {
        return isCVVNeed;
    }

    public void setIsCVVNeed(int isCVVNeed) {
        this.isCVVNeed = isCVVNeed;
    }

    public int getIsPayerNameNeed() {
        return isPayerNameNeed;
    }

    public void setIsPayerNameNeed(int isPayerNameNeed) {
        this.isPayerNameNeed = isPayerNameNeed;
    }

    public int getIsIdentifyTypeNeed() {
        return isIdentifyTypeNeed;
    }

    public void setIsIdentifyTypeNeed(int isIdentifyTypeNeed) {
        this.isIdentifyTypeNeed = isIdentifyTypeNeed;
    }

    public int getIsIdentifyNoNeed() {
        return isIdentifyNoNeed;
    }

    public void setIsIdentifyNoNeed(int isIdentifyNoNeed) {
        this.isIdentifyNoNeed = isIdentifyNoNeed;
    }

    public int getIsMobileNoNeed() {
        return isMobileNoNeed;
    }

    public void setIsMobileNoNeed(int isMobileNoNeed) {
        this.isMobileNoNeed = isMobileNoNeed;
    }

    public int getCardType() {
        return cardType;
    }

    public void setCardType(int cardType) {
        this.cardType = cardType;
    }

    public String getIsCardNoNeedDesc() {
        return isCardNoNeedDesc;
    }

    /*public void setIsCardNoNeedDesc(int isCardNoNeed) {
        this.isCardNoNeedDesc = CardConfigEnum.getDesc(isCardNoNeed);
    }

    public String getIsExpireTimeNeedDesc() {
        return isExpireTimeNeedDesc;
    }

    public void setIsExpireTimeNeedDesc(int isExpireTimeNeed) {
        this.isExpireTimeNeedDesc = CardConfigEnum.getDesc(isExpireTimeNeed);
    }

    public String getIsCVVNeedDesc() {
        return isCVVNeedDesc;
    }

    public void setIsCVVNeedDesc(int isCVVNeed) {
        this.isCVVNeedDesc = CardConfigEnum.getDesc(isCVVNeed);
    }

    public String getIsPayerNameNeedDesc() {
        return isPayerNameNeedDesc;
    }

    public void setIsPayerNameNeedDesc(int isPayerNameNeed) {
        this.isPayerNameNeedDesc = CardConfigEnum.getDesc(isPayerNameNeed);
    }

    public String getIsIdentifyTypeNeedDesc() {
        return isIdentifyTypeNeedDesc;
    }

    public void setIsIdentifyTypeNeedDesc(int isIdentifyTypeNeed) {
        this.isIdentifyTypeNeedDesc = CardConfigEnum.getDesc(isIdentifyTypeNeed);
    }

    public String getIsIdentifyNoNeedDesc() {
        return isIdentifyNoNeedDesc;
    }

    public void setIsIdentifyNoNeedDesc(int isIdentifyNoNeed) {
        this.isIdentifyNoNeedDesc = CardConfigEnum.getDesc(isIdentifyNoNeed);
    }

    public String getIsMobileNoNeedDesc() {
        return isMobileNoNeedDesc;
    }

    public void setIsMobileNoNeedDesc(int isMobileNoNeed) {
        this.isMobileNoNeedDesc = CardConfigEnum.getDesc(isMobileNoNeed);
    }*/
}
